package com.pengpeng.rabbitmq.bean;

import lombok.Data;

/**
 * @author 彭鹏
 * @date 2021/10/19.
 */
@Data
public class Result {
    /**
     * 编码
     */
    private Integer code;
    /**
     * 信息
     */
    private String msg;
    /**
     * 数据
     */
    private Object data;

    public Result(Integer code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public Result() {
    }

}

